﻿<BSBadge onclick="onclick" Color="Color.Primary">Primary</BSBadge>
<BSBadge Href="#" Color="Color.Secondary">Secondary</BSBadge>
<BSBadge Href="#" Color="Color.Success">Success</BSBadge>
<BSBadge Href="#" Color="Color.Danger">Danger</BSBadge>
<BSBadge Href="#" Color="Color.Warning">Warning</BSBadge>
<BSBadge Href="#" Color="Color.Info">Info</BSBadge>
<BSBadge Href="#" Color="Color.Light">Light</BSBadge>
<BSBadge Href="#" Color="Color.Dark">Dark</BSBadge>

@code {
    void onclick()
    {
        Console.WriteLine("BSBadge clicked");
    }
}